﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuickLifeHall.DAL.SystemBase
{
    public class User : BaseRepository<Entity.SystemBase.User>
    {
        public Entity.SystemBase.User GetByName(string userName)
        {
            return database.FirstOrDefault<Entity.SystemBase.User>(PetaPoco.Sql.Builder.Where("UserName=@0", userName));
        }
    }
}
